\documentclass[UTF-8,hyperref]{book}
\usepackage{graphicx}
\usepackage{fontspec}
\setmainfont{Adobe Fangsong Std R}
\renewcommand{\thepage}{\Roman{page}}
\title{Test}
\author{yunxinyi}
\date{2012 10 26}
\begin{document}
\clearpage
\newcommand\nbvspace[1][3]{\vspace*{\stretch{#1}}}
\newcommand\nbstretchyspace{\spaceskip0.5em plus 0.25em minus 0.25em}
\newcommand{\nbtitlestretch}{\spaceskip0.6em}
\pagestyle{empty}
\begin{center}
	\bfseries
	\nbvspace[1]
	\Huge
	{\nbtitlestretch\huge AWK ONE LINERS EXPLAINED}


	\nbvspace[1]
	\normalsize


	TO WHICH IS ADDED MANY USEFUL ONE\\
	LINES AND CODE SO THAT\\
	YOU CAN AWK LIKE A HAWK
	\nbvspace[1]
	\small BY\\
	\Large PETERIS KRUMINS\\[0.5em]
	\footnotesize AUTHOR OF ''A WORKING ALGEBRA,'' ``WIRELESS TELEGGRAPHY,\\
	ITS HISTORY, THEORY AND PRACTICE,'' ETC., ETC.


	\nbvspace[2]


	\includegraphics[width=1.5in]{./icon.png}
	\nbvspace[3]
	\normalsize

	DOHA\\
	\Large
	PUBLISHED IN THE WILD
	\nbvspace[1]
\end{center}
\maketitle
\tableofcontents
\markboth{LER}{RR}
\part{第一部分}
\chapter{测试}
\section{hello, world}
\subsection{hell.....}
\paragraph{This is the para title}
this is the content
this is the content
this is the content
this is the content
this is the content
this is the content
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello


\paragraph{HHelloHelloHelloHelloHelloHelloHelloH}
elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe


\paragraph{HHelloHelloHelloHelloHelloHelloHelloH}
lloHelloHello
HHelloHelloHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe
HelloHelloHelloHelloello
HHelloHelloHelloHelloHelloHelloHelloH


elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe


elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe


elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe


elloHelloHelloHelloHelloHello
HelloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloH
elloHelloHelloHelloHelloHelloHelloHell
oHelloHelloHelloHelloHelloHe
\part{第2部分}
\chapter{2}
\appendix
\chapter{hello A}
\footnote{This is my first footnote?}
This is appendix A.
\chapter{B}
This is appendix B.
\end{document}
